<!--
 * @Author: your name
 * @Date: 2021-08-13 21:02:23
 * @LastEditTime: 2021-08-13 21:55:00
 * @LastEditors: Please set LastEditors
 * @Description: 表格
 * @FilePath: \第一周\1-html\day02\4-table.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
</head>
<body>
    <table border="1" width="100%" style="border-collapse: collapse;">  <!--表格-->
        <thead> 
            <tr> <!--行-->
                <th>编号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>生日</th>  <!--列，td:字体加粗、居中-->
            </tr>
        </thead>
        <tbody>
            <tr>
                <td rowspan="2">1</td>
                <td>tom</td>
                <td>男</td>
                <td>2021-03-01</td>
            </tr>
            <tr>
                <td>jacky</td>
                <td>男</td>
                <td>2021-03-01</td>
            </tr>
            <tr>
                <td colspan="2">vic</td>
                <td>女</td>
                <td>2021-08-07</td>
            </tr>
        </tbody>
        <tfoot></tfoot>
    </table>
</body>
</html>
